package com.ju.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ju.demo.bo.teamInfo.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.lang.annotation.Documented;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "exchangeteam")

public class ExchangeTeam {
    @Id
    @TableId(type = IdType.AUTO)
    private String id;
    private TeamID teamID;
    private TeamMsg teamMsg;
    private ToolmeterMsg toolmeterMsg;
    private String equipmentOperationMsg;
    private EquipmentTroubleMsg equipmentTroubleMsg;
    private EquipmentChangeMsg equipmentChangeMsg;
    private String equipmentRunMsg;
    private BuildMsg buildMsg;
    private String time;

}
